#ifndef __MESSAGE_H__
#define __MESSAGE_H__

/* Inclusion */
#include <stdlib.h>
#include <stdio.h>
#include "user.h"

/* Ajouter un champs pour la date, et les fonctions associées */

/* Structures */
typedef struct
{
	User user;
	char * string;
} Message;

/* Setters */
void SetUser(Message * NewMessage, User NewUser);
void SetString(Message * NewMessage, char * NewString);

/* Getters */
User GetUser(Message NewMessage);
char * GetString(Message NewMessage);

/* Prototypes */
void MessageTestRegression();

#endif
